﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;

namespace Trippy
{
    public class TrippyState : DrawableGameComponent
    {
        public KeyboardState PreviousKeyboardState { get; protected set; }
        public KeyboardState CurrentKeyboardState { get; protected set; }

        public TrippyState(Game game) : base(game)
        {
        }

        public override void Update(GameTime gameTime)
        {
            PreviousKeyboardState = CurrentKeyboardState;
            CurrentKeyboardState = Keyboard.GetState();
            base.Update(gameTime);
        }

        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
        }
    }
}
